package com.itheima.EnumTest;

import jdk.nashorn.internal.objects.annotations.Getter;
import lombok.Setter;

public enum CountryEnum {

    one(1,10),
    two(1,10),
    three(1,10),
    fore(1,10),
    five(1,10),
    six(1,10),
    seven(1,10);
    CountryEnum(Integer num, Integer count){}{
    };


    private Integer num;
    private Integer count;


    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }





}
class qwe{
    public static void main(String[] args) {
        String five = CountryEnum.five.toString();
        CountryEnum[] values = CountryEnum.values();

        for (CountryEnum value : values) {
            System.out.println(value);
            System.out.println(value.getCount());
            System.out.println(value.getCount());
        }
    }
}
